package main

import "fmt"

const (
	NOR = iota
	DEL
)

//iota智能在const内使用
const (
	a, b = iota + 1, iota + 2
	c, d
	e, f = iota + 2, iota + 3
	g, h
)

func main() {
	const len int = 10
	fmt.Println("len =", len)

	fmt.Println("NOR =", NOR)
	fmt.Println("DEL =", DEL)

	fmt.Println(a, b, c, d, e, f, g, h)
}
